package cn.chuxing.rpc.service;

import cn.chuxing.pl.common.annotation.BasicService;
import cn.chuxing.pl.common.base.BaseMapper;
import cn.chuxing.pl.common.base.BaseServiceImpl;
import cn.chuxing.dao.mapper.PlAreaMapper;
import cn.chuxing.dao.model.PlArea;
import cn.chuxing.dao.model.PlAreaExample;
import cn.chuxing.rpc.api.PlAreaService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
* PlAreaService实现
* Created by Cooper on 2018/1/15.
*/
@Service
@Transactional
@BasicService
public class PlAreaServiceImpl extends BaseServiceImpl<PlArea, PlAreaExample> implements PlAreaService {

    private static final Logger LOGGER = LoggerFactory.getLogger(PlAreaServiceImpl.class);

    @Autowired
    private PlAreaMapper plAreaMapper;

    @Override
    public BaseMapper<PlArea, PlAreaExample> getMapper() {
        return plAreaMapper;
    }
}